package com.ruoyi.wareManagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存预警查询对象 tnventory_warning
 * 
 * @author admin
 * @date 2024-07-01
 */
public class TnventoryWarning extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存预警id */
    private Long warningId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String materialCode;

    /** 物料Id */
    @Excel(name = "物料Id")
    private String materialId;
    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long nventoryQuantity;

    /** 安全库存 */
    @Excel(name = "安全库存")
    private Long safetyStock;

    /** 最高库存 */
    @Excel(name = "最高库存")
    private Long maximumInventory;

    /** 最低库存 */
    @Excel(name = "最低库存")
    private Long minimumStock;

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public void setWarningId(Long warningId)
    {
        this.warningId = warningId;
    }

    public Long getWarningId() 
    {
        return warningId;
    }
    public void setMaterialCode(String materialCode) 
    {
        this.materialCode = materialCode;
    }

    public String getMaterialCode() 
    {
        return materialCode;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setNventoryQuantity(Long nventoryQuantity) 
    {
        this.nventoryQuantity = nventoryQuantity;
    }

    public Long getNventoryQuantity() 
    {
        return nventoryQuantity;
    }
    public void setSafetyStock(Long safetyStock) 
    {
        this.safetyStock = safetyStock;
    }

    public Long getSafetyStock() 
    {
        return safetyStock;
    }
    public void setMaximumInventory(Long maximumInventory) 
    {
        this.maximumInventory = maximumInventory;
    }

    public Long getMaximumInventory() 
    {
        return maximumInventory;
    }
    public void setMinimumStock(Long minimumStock) 
    {
        this.minimumStock = minimumStock;
    }

    public Long getMinimumStock() 
    {
        return minimumStock;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warningId", getWarningId())
            .append("materialCode", getMaterialCode())
            .append("materialName", getMaterialName())
            .append("nventoryQuantity", getNventoryQuantity())
            .append("safetyStock", getSafetyStock())
            .append("maximumInventory", getMaximumInventory())
            .append("minimumStock", getMinimumStock())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("materialId",getMaterialId())
            .toString();
    }
}
